<%@page import="org.springside.modules.security.service.logic.ModuleManager"%>
<%@page import="cn.firstsoft.firstframe.web.FirstFrameBeanFactory"%>
<%@page import="org.springframework.web.util.WebUtils"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<%@ page import="org.springside.core.Constants"%>
<%@ page import="org.springside.core.utils.DateUtil"%>
<%@ page import="cn.firstsoft.firstframe.admin.PropertyFile"%>
<%@ page import="org.apache.commons.fileupload.*"%>
<%@ page import="org.apache.commons.fileupload.servlet.*"%>
<%@ page import="org.apache.commons.fileupload.disk.*"%>
<%@ page import="java.util.*"%>
<%@ page import="java.io.*"%>

<%
boolean flag = true;
try{
	Map moduleMap = WebUtils.getParametersStartingWith(request, "module_");
	Map interfaceMap = WebUtils.getParametersStartingWith(request, "interface_");
	ModuleManager moduleManager=(ModuleManager)FirstFrameBeanFactory.getBean("moduleManager");
    moduleManager.saveLiceTest(moduleMap,interfaceMap);
}catch(Exception e){
	flag = false;
    e.printStackTrace();
}

%>
<%if(flag){ %> 上传成功。重启后生效。<%} %>
<%if(!flag){ %> 上传失败。<%} %>

